Jquery / UI / Text Scrolling using infiniteslidev2_js
News Scrolling
-
in html
1. css
2. add js
3. html code
hai4. add script
-
Different Directions
direction: 'up' direction: 'down' direction: 'left' direction: 'right'
Preloader
in style
#loaderContainer { background-color: rgba(255, 255, 255, 0.95); /* adjust the 0.95 for transparency */ left: 0; top: 0; width: 100%; } .loader { border: 16px solid #f3f3f3; border-radius: 50%; border-top: 16px solid #213130; width: 120px; height: 120px; margin: 20% auto 0; /* Adjust the 20% to move the loader up or down. */ -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
in html
in js
$(window).on('load', function() { window.loaded = true; $('#loaderContainer').hide(); });